Skip to content

Conversation

pxrl
Copy link
Collaborator

@pxrl pxrl commented Jun 4, 2025

isContractDeployedToAddress() currently mistakes EIP-7702 delegations for contracts. For most/all purposes in Across, 7702 delegation is preferred to be treated as an EOA. This change permits the caller to specify whether EIP-7702 delegations should be considered as contract code. EIP-7702 delegation is considered as a contract by default, so this is backwards compatible with the existing implementation and must requires opt-in.

pxrl added 2 commits June 4, 2025 10:05
isContractDeployedToAddress() currently mistakes EIP-7702 delegations
for contracts. For most/all purposes in Across, 7702 delegation is
preferred to be treated as an EOA. This change permits the caller to
specify whether EIP-7702 delegations should be considered as contract
code. EIP-7702 delegation is considered as a contract by default, so
this is backwards compatible with the existing implementation and must
requires opt-in.
@pxrl pxrl marked this pull request as ready for review June 10, 2025 09:35
@pxrl pxrl requested review from bmzig and dohaki June 10, 2025 09:35
Copy link
Member

@nicholaspai nicholaspai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One q on dependencies

@pxrl pxrl requested a review from nicholaspai August 25, 2025 09:42
@pxrl pxrl merged commit 8918e3a into master Sep 10, 2025
4 checks passed
@pxrl pxrl deleted the pxrl/7702Util branch September 10, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants